Online Linear Regression of Sampling Data from Performance Event Counters
نویسندگان
چکیده
Sampling is a common way to collect execution information with performance event counters. However, the sampling data generated from performance event counters tend to be massive if sampling with high frequencies. Storing and processing a large amount of sampling data require much disk space and computing time. In this paper, we propose the online linear regression method to reduce the size of the sampling data. Our idea is to fit the sampling data with a series of straight lines. Each line represents the variation trend of the sample values within the corresponding section. Then we store the parameters of the lines instead of the sample values, resulting in a reduction of the sampling data size. The SPEC CPU 2006 benchmarks are tested to verify the proposed online linear regression method. The experimental result shows the online linear regression method can reduce the sampling data size effectively with a low overhead, and retain the variation characteristic of the sampling data with a normalized estimated standard deviation less than 0.1.
منابع مشابه
The Intel Pentium 4’s Unique Performance-monitoring Features Overcome Many Limitations and Problems Found in Previous Processors. Pentium 4 Xeon Performance Monitoring Supports Simultaneous Multithreaded Execution
Most modern, high-performance processors have special, on-chip hardware that can monitor performance. The features of this monitoring hardware typically include event detectors and counters, qualification of event detection and counting by privilege mode and event characteristics, and support for event-based sampling. However, these features often suffer from a common set of problems including ...
متن کاملThe Relationship Between Critical Thinking and Online Information Seeking Behavior in Postgraduate Students of Ahvaz Jundishapur University of Medical Sciences
Introduction: Web is a source of information for students. Online information seeking behavior is related to several factors. One of these factors is the skill of critical thinking and information analysis on the web. The present study was conducted for explanting online information behavior and relation with critical thinking in postgraduate student. Methods: The present research is descripti...
متن کاملAdaptive Sampling of Performance Counters
Many applications of profiling based on sampling of Performance Counters (PC), such as feedback-directed optimization and software reliability, are often constrained by the amount of information that can be obtained without perturbing significantly the behavior of the profiled task. Current implementation of event and time based sampling software utilize fixed or random sampling periods which a...
متن کاملHotspot Detection of SPEC CPU 2006 Benchmarks with Performance Event Counters⋆
Abstract. Hotspot is the part of a program where most execution time is spent. Detecting the hotspot enables the optimization of the program. The performance event counters embedded in modern processors provide the hardware support for the hotspot detection. By sampling the instruction addresses of the running program with performance event counters, hotspot of the program can be statistically ...
متن کاملToward Accurate Performance Evaluation using Hardware Counters
On-chip performance counters are gaining popularity as an analysis and validation tool. Various drivers and interfaces have been developed to access these counters. Most contemporary processors have between two and six physical counters that can monitor an equal number of unique events simultaneously at fixed sampling periods. Through multiplexing and estimation, an even greater number of uniqu...
متن کامل